Process for preparing 4-trifluoromethylsulfinylpyrazole derivative

ABSTRACT

A process for the preparation of a compound of formula (I)                    
     comprising oxidizing a compound of formula (II)                    
     with trifluoroperacetic acid in the presence of a corrosion inhibiting compound such as boric acid. Also, a process for preparing a compound of formula (II) by adding sulfur dioxide to a mixture of the corresponding disulfide, a formate salt, trifluoromethyl bromide and a polar solvent; and a process for preparing the disulfide comprising adding S 2 Cl 2  to a solution, in an organic solvent, of the corresponding 4-unsubstituted pyrazole.

This invention relates to improved processes for preparing 1-arylpyrazole pesticides such as 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole known as Fipronil (Pesticide Manual 11^(th) Edition), and for the intermediates used in its preparation 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole and 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazol-4-yl disulphide.

European Patent Publication No.295117 describes the preparation of 5-amino-1-(2,6-dichloro4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole by the oxidation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole with 3-chloroperbenzoic acid. The use of trifluoroacetic acid and hydrogen peroxide (forming trifluoroperacetic acid in situ) for the oxidation of sulphides to sulphoxides and/or sulphones is known and is generally useful for the oxidation of electron deficient sulphides such as trifluoromethylsulphides which are less readily oxidised than other sulphides. Such procedures have been reported in the literature, for example in the preparation of certain 1-arylpyrazole pesticides.

A problem encountered in the preparation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole by the oxidation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole is the co-formation of the corresponding sulphone compound 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphonylpyrazole, which is difficult to remove from the sulphoxide. A number of oxidants (including amongst others sodium vanadate, sodium tungstate, peracetic acid, performic acid and pertrichloroacetic acid) have been employed in an attempt to obtain an efficient and regioselective oxidation which will provide 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole in pure form and which may also be utilised for large scale preparations. All of the above methods were found to be unsatisfactory in one respect or another.

It has now been found that a mixture of trifluoroacetic acid and hydrogen peroxide (trifluoroperacetic acid) gives excellent results in terms of both selectivity and yield.

However a problem of using the trifluoroacetic acid and hydrogen peroxide mixture on large scales is that it leads to corrosion of the glass linings of industrial reaction vessels, which is rapid (typically 300 μm/year) even at ambient temperatures, whilst at 80° C. the speed of corrosion increases to about 1430 μm/year. This corrosion occurs as a result of the formation of hydrogen fluoride, and therefore prohibits the use of this reagent mixture in such vessels.

It has now been found that the addition of a corrosion inhibiting compound such as boric acid to the reaction mixture inhibits the corrosion process and reduces the speed of corrosion to a level that is typically less than 5 μm/year.

European Patent Publication No. 0374061 and J-L. Clavel et.al. in J. Chem. Soc. Perkin I, (1992), 3371-3375 describe the preparation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazol-4-yl disulphide, and the further conversion of this disulphide to the pesticidally active 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole by reaction with trifluoromethyl bromide in the presence of sodium formate and sulphur dioxide in N,N-dimethylformamide in an autoclave at low pressure (typically 13 bars) at 60° C.

However on larger scales the reaction is very exothermic which results in a substantial pressure increase in the vessel and associated operator hazard.

Moreover it is necessary to add the trifluoromethyl bromide quickly (generally within 0.5 hour), because the mixture of disulphide, sodium formate, sulphur dioxide and N,N-dimethylformamide has been found to be unstable (typically leading to 55% degradation into unwanted by-products within 2 hours at 50° C.). This requirement for rapid addition of trifluoromethyl bromide is not compatible with the exothermic nature of the reaction.

In order to overcome these problems and develop a process which can be used on a large scale other conditions have been sought.

In the above described procedures the reaction was performed by addition of the trifluoromethyl bromide to a mixture of the other components. A new process has now been developed in which the order of addition is different.

European Patent Publication No. 0374061 describes the preparation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazol-4-yl disulphide by the reaction of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-thiocyanatopyrazole with base, and the further conversion of this disulphide to the pesticidally active 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole.

European Patent Publication No. 295117 discloses a process for the preparation of 1-aryl-3,5-disubstituted-pyrazol-4-yl disulphides by the hydrolysis of the corresponding 4-thiocyanatopyrazole derivatives using hydrochloric acid in ethanol, or by reduction using sodium borohydride in ethanol, or by treatment with aqueous sodium hydroxide under phase transfer conditions in the presence of chloroform and benzyltriethylamrnonium chloride.

The preparation of the above 5-amino-1-aryl-3-cyano-4-thiocyanatopyrazole intermediates is also described in European Patent Publication Numbers 0374061 and 295117, and these are obtained by the thiocyanation of the corresponding 5-amino-1-aryl-3-cyanopyrazole derivatives using an alkali metal or ammonium thiocyanate in the presence of bromine and methanol at low temperature.

The above 2-step process for the preparation of 5-amino-1-aryl-3-cyanopyrazol-4-yl disulphide intermediates from 5-amino-1-aryl-3-cyanopyrazoles presents several problems which limit its usefulness for application on large scales:

i) the thiocyanation step is generally performed at very low temperatures,

ii) the mixture of bromine and methanol used in the thiocyanation reaction may form explosive mixtures,

iii) the above reactions involve heterogeneous mixtures, and

iv) it is difficult to obtain complete transformations to product in either reaction stage.

In order to overcome these problems other conditions have been sought. Thus the explosive hazard may be avoided in the thiocyanation reaction by replacing the methanol with a mixture of dichloromethane and water, however this procedure is not efficient on large scales.

The thiocyanation reaction may alternatively be successfully carried out using an alkali metal or ammonium thiocyanate in the presence of hydrogen peroxide and a mineral acid such as hydrochloric acid in a solvent such as an alcohol for example methanol. An improved procedure for the subsequent hydrolysis step has been found which involves the use of a base such as an alkali metal hydroxide, for example sodium hydroxide, in the presence of formaldehyde and a solvent such as aqueous methanol, however the disulphide thus obtained is very powdery and difficult to filter. Furthermore in order to obtain the above disulphide in satisfactory quality it is necessary to subject the starting material 5-amino-1-aryl-3-cyanopyrazole to additional purification before it is used in the thiocyanation and hydrolysis reactions.

Hence it may be appreciated that the above 2-step procedure is inefficient for an industrial process, and a single step method lacking these disadvantages would clearly be preferred.

The present invention seeks to provide improved or more economical methods for the preparation of pesticides.

It is a first object of the present invention to provide a convenient process for preparing 5-amino-1-aryl-3-cyano-4-trifluoromethylsulphinylpyrazole pesticides, which are obtained in high yield and high purity.

It is a further object of the present invention to provide a process for preparing 5-amino-1-aryl-3-cyano-4-trifluoromethylsulphinylpyrazole pesticides which is simple and safe to perform, and which results in minimal vessel corrosion.

It is a further object of the present invention is to provide a process for the preparation of 5-amino-1-aryl-3-cyano-4-trifluoromethylsulphinylpyrazole pesticides which includes an efficient recovery procedure for the trifluoroacetic acid.

It is a further object of the present invention to provide a convenient process for preparing 5-amino- 1-aryl-3-cyano-4-trifluoromethylthiopyrazole pesticides and pesticidal intermediates, which are obtained in high yield and high purity with improved transformation of the 5-amino-1-aryl-3-cyanopyrazol-4-yl disulphide.

It is a further object of the present invention to provide a process for preparing 5-amino-1-aryl-3-cyano-4-trifluoromethylthiopyrazole pesticides and pesticidal intermediates, which is simple and safe to perform, is operated at lower pressures and temperatures, and in which side reactions are minimised.

It is a flier object of the present invention to provide a convenient process for preparing 5-amino-1-aryl-3-cyanopyrazol-4-yl disulphide pesticidal intermediates, which are obtained in high yield and high purity.

It is a further object of the present invention to provide a single step process for preparing 5-amino-1-aryl-3-cyanopyrazol-4-yl disulphide pesticidal intermediates from 5-amino-1-aryl-3-cyanopyrazole intermediates.

It is a further object of the present invention to provide a process for preparing 5-amino-1-aryl-3-cyanopyrazol-4-yl disulphide pesticidal intermediates which is simple and safe to perform, utilises readily available materials, allows efficient isolation of the product and does not require additional purification of the 5-amino-1-aryl-3-cyanopyrazole starting material.

It is a further object of the present invention to provide a convenient process for preparing 5-amino-1-aryl-3-cyano-4-trifluoromethylsulphinylpyrazole pesticides by a three step process starting from 5-amino-1-aryl-3-cyanopyrazoles.

These and other objects of the invention will become apparent from the following description, and are achieved in whole or in part by the present invention.

According to a feature of the present invention there is provided an improved process (A) for the preparation of a compound of formula (I):

wherein W represents nitrogen or —CR³;

R¹ represents halogen, haloalkyl (preferably trifluoromethyl), haloalkoxy (preferably trifluoromethoxy), R⁴S(O)_(n)—, or —SF₅;

R² represents hydrogen or halogen (for example chlorine or bromine);

R³ represents halogen (for example chlorine or bromine);

R⁴ represents alkyl or haloalkyl; and

n represents 0,1 or 2; which process comprises oxidising a compound of formula (II):

 wherein R¹, R² and W are as hereinbefore defined, with trifluoroperacetic acid in the presence of a corrosion inhibiting compound.

In a preferred embodiment of the invention the trifluoroperacetic acid is generated in situ by the reaction of trifluoroacetic acid and hydrogen peroxide. Accordingly, this embodiment comprises treating a compound of formula (II) as defined above with trifluoroacetic acid and hydrogen peroxide.

Unless otherwise specified in the present specification ‘alkyl’ means straight- or branched-chain alkyl having from one to six carbon atoms (preferably one to three). Unless otherwise specified ‘haloalkyl’ and ‘haloalkoxy’ are straight- or branched-chain alkyl or alkoxy respectively having from one to six carbon atoms (preferably one to three) substituted by one or more halogen atoms selected from fluorine, chlorine and bromine.

When R¹ represents R⁴S(O)_(n)—and n is 0 or 1, the process may bring about oxidation to the corresponding compound in which n is 1 or 2, respectively.

The corrosion inhibiting compound is generally boric acid or an alkali metal borate such as sodium borate; or any hydrogen fluoride trapping agent such as silica (silicon dioxide), optionally in the form of silica oil. Preferably the corrosion inhibiting compound is boric acid.

The amount of corrosion inhibiting compound used is generally 0.08-0.22 molar equivalents, and preferably about 0.08-0.1 molar equivalents.

The amount of trifluoroacetic acid employed is generally from 14-15 molar equivalents.

The amount of hydrogen peroxide influences the reaction since an excess will lead to the formation of the corresponding sulphone of the compound of formula (I), whilst a deficiency will lead to incomplete transformation, and in either event an impure final product is obtained. Thus the amount of hydrogen peroxide used in the reaction (generally as a 35% aqueous solution) is generally from 1.3-1.5 equivalents, preferably about 1.31-1.35 equivalents and more preferably about 1.33 equivalents.

The reaction is generally performed at a temperature of from 10-15° C. and preferably at about 12° C.

A further problem associated with the use of trifluoroacetic acid and hydrogen peroxide concerns the recovery and recycling of the expensive trifluoroacetic acid which is essential for the operation of an economically efficient process. In one procedure that was developed in an attempt to solve this problem, the reaction mixture was quenched with sulphur dioxide and a part of the trifluoroacetic acid removed by distillation. An excess of ethanol was then added to the residue to form ethyl trifluoroacetate which was then removed by distillation. The product was then crystallised from a mixture of ethanol/water. This procedure was found to have two disadvantages:

i) the ethanol/water mixture does not provide sufficiently pure 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole; and

ii) the recycling of trifluoroacetic acid via the acid hydrolysis of ethyl trifluoroacetate is a complex process on a large scale and generates a large quantity of unwanted sodium sulphate thus presenting a waste problem.

A new procedure has now been found which solves both of these problems and thus provides a simple and efficient method for the preparation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole in high yield and purity, and in addition provides an efficient recovery procedure for trifluoroacetic acid. In this process, when the reaction in trifluoroacetic acid and hydrogen peroxide is judged to be complete, the excess of hydrogen peroxide is generally quenched with sulphur dioxide (or equivalent reagent), chlorobenzene is added and the trifluoroacetic acid removed by distillation. Typically the trifluoroacetic acid is removed by azeotropic distillation under reduced pressure. An alcohol such as methanol, ethanol or isopropanol (preferably ethanol) is then added to the residue and warmed to about 80° C. until a solution is formed, and then cooled to about 40° C. when the 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole crystallises. The alcohol is evaporated at 40° C. under reduced pressure, the mixture cooled to about 0° C., filtered, and the product washed and dried in vacuo. Chlorobenzene has been found to be the only industrial solvent which is compatible with the mixture, has a boiling point significantly higher than that of trifluoroacetic acid, and allows crystallisation of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole in good yield and quality.

Thus a preferred aspect of the process of the invention as described above further comprises adding chlorobenzene to the reaction mixture on completion of the oxidation reaction, and recovering the trifluoroacetic acid by distillation.

According to a further feature of the present invention there is provided an improved process (B) for the preparation of a compound of formula (II) as defined above; which process comprises the addition of sulphur dioxide to a mixture comprising a disulphide of formula (II):

wherein R¹, R² and W are as hereinbefore defined, a formate salt, trifluoromethyl bromide and a polar solvent. The polar solvent is generally selected from N,N-dimethylformamide, N,N-dimethylacetamide, N-methylpyrrolidinone, dimethylsulphoxide, sulpholane, hexamethylphosphoramide and ethers such as dioxan, tetrahydrofuran and dimethoxyethane. It is preferably N,N-dimethylformamide, N,N-dimethylacetamide, N-methylpyrrolidinone, dimethylsulphoxide or sulpholane, more preferably N,N-dimethylformamide.

The advantages of performing the process with this order of addition are:

i) the mixture of disulphide of formula (III), sodium formate, trifluoromethyl bromide and polar solvent (preferably N,N-dimethylformamide) is stable and so the sulphur dioxide may be added more slowly without risk of degradation, thus providing a more convenient and safe process,

ii) the new process is efficient being characterised by good yields of product and high transformation of disulphide, and

iii) the rate of addition of sulphur dioxide may be controlled so that any increase in the reaction temperature and/or pressure can be maintained at a safe level, thus allowing large scale reactions to be performed safely (including for example typical commercial reactors having about 15 m³ volume).

The formate salt is generally an alkali metal or ammonium salt, preferably sodium formate.

The reaction temperature during the addition of the sulphur dioxide is generally from 35-55° C., preferably from about 35-50° C., most preferably from about 43-47° C., which allows efficient control of the heat from the exothermic reaction Below 35° C. the reaction tends to proceed too slowly to be useful for an industrial process. At temperatures above 55° C. the yield and quality of product is reduced.

The sulphur dioxide is generally added at such a rate that the temperature is maintained within the above defined range. On large scales this is generally carried out over a 0.5-2 hour period, preferably during about 1-1.5 hours. An addition time of about 1-1.5 hours has been shown to be optimal in minimising the formation of by-products.

The molar ratio of trifluoromethyl bromide:disulphide of formula (III) is preferably from 3:1 to 5:1. It is convenient to employ a molar ratio of about 3:1.

The amount of sulphur dioxide used is generally from 1.2-1.5 molar equivalents relative to the disulphide of formula (III) and preferably about 1.3 molar equivalents. When only 1 equivalent is employed the yield of product is lowered and transformation of disulphide tends to be incomplete, whilst an excess of sulphur dioxide leads to degradation during evaporation of the solvent in the work-up.

The amount of formate salt used is generally 4-6 molar equivalents relative to the disulphide of formula (II), preferably about 4.5-5.5 molar equivalents. A joint reduction in the amount of sulphur dioxide and formate salt can be made until the ratio of sulphur dioxide:disulphide is from about 1.2:1 and the ratio of formate salt:disulphide is from about 4.5:1.

By using the process according to the above description the pressure in the vessel is generally easily maintained in the safe range of 3-6 bars.

According to a further feature of the present invention there is provided a process (C) for the preparation of a disulphide of formula (III) as defined above; which comprises adding sulphur monochloride (S₂Cl₂) to a solution in an organic solvent of a compound of formula (IV):

wherein R¹, R² and W are as hereinbefore defined.

The reaction is preferably conducted in a solvent selected from toluene, dichloromethane or dichloroethane, or aliphatic or aromatic nitriles such as acetonitrile, propionitrile, methylglutaronitrile and benzonitrile; or mixtures thereof, optionally as a mixture with chlorobenzene (which is present when a chlorobenzene solution of the compound of formula (IV) obtained from the previous reaction stage is used). Acetonitrile optionally in the presence of chlorobenzene is the preferred solvent for the reaction. The reaction is very sensitive to the effect of solvent and whilst it may be convenient to use toluene since a toluene solution of (IV) may be available from the previous reaction stage, a significant amount of the monosulphide (V):

is generally formed as a by product when these conditions are employed. Moreover the product is very slow to filter when toluene is employed, although an acceptable filtration rate may be obtained by addition of a proportion of acetonitrile to the toluene solution. When the reaction is performed in the preferred solvent acetonitrile, the amount of monosulphide impurity (V) is reduced and the rate of filtration of the product (III) is satisfactory.

The sulphur monochloride used in the process is generally from 99.4-99.9% w/w pure.

The quality of solvent used may affect the reaction since the presence of certain impurities can influence the yield of product (with the formation of (V) as by-product). Thus when acetonitrile is employed as solvent it is preferred that the content of water is <1000 ppm, the content of ethanol is <1500 ppm and the content of ammonia is <100 ppm. It is also preferable to avoid the presence of even low amounts of acetone or N,N-dimethylformamide in the solvent mixture since, for example, the presence of about 100 ppm of acetone in dichloromethane may have a negative impact on the yield of product.

The order of addition of the reagents is an important feature of the reaction. Thus it is very important to add the sulphur monochloride to a solution of compound of formula (IV) (rather than the reverse). A rapid addition time for the sulphur monochloride is a preferred feature of the process. Thus if the sulphur monochloride is added during 1 minute, the disulphide (III) crystallises about 15 seconds after the completion of the addition (and all of the compound of formula (IV) has been consumed). When added over a 15 minute period the disulphide (III) crystallises in mid-addition and as a result the disulphide (III) co-crystallises with the remaining compound of formula (IV). Washing the impure product so obtained with a large excess of acetonitrile does not effect removal of the unreacted compound of formula (IV). The time for the sulphur monochloride addition is preferably from 1-10 minutes, more preferably about 1-5 minutes.

The reaction temperature of the mixture at the start of the addition of the sulphur monochloride is preferably from 5 to 25° C., more preferably from about 10 to 20° C. If the temperature is at 30° C. at the start of the addition, a lower yield is obtained due to the formation of trisulphide and tetrasulphide by-products. As the reaction is exothermic the temperature increases during the reaction and is preferably held at from about 20 to 35° C.

The molar ratio of compound of formula (IV): sulphur monochloride used in the reaction is generally from 2:1 to 2:1.06, and preferably from about 2:1 to about 2:1.04. Using a larger excess of sulphur monochloride results in the formation of an increased amount of the monosulphide by-product (V). If a lower proportion of sulphur monochloride is used the reaction does not proceed to completion.

A further feature of the process of the invention is the method used for the purification of the product. Thus the reaction mixture containing the disulphide of formula (III) is first degassed to remove hydrogen chloride, generally by heating at about 40° C. under reduced pressure, generally at about 0.2 atmosphere. It is then heated at about 80° C. for about 1 hour at atmospheric pressure. After cooling to about 30° C., a weak base (generally ammonia) is added to neutralise any remaining hydrogen chloride and obtain a pH about 6.5-7. The mixture is then cooled to about 5° C. and the product isolated by filtration. This procedure enables the disulphide of formula (I) to be obtained in high yield and purity by a simple procedure convenient for large scale operations.

In formulae (I), (II), (III) and (IV), preferred values of the symbols are as follows:

R¹ represents haloalkyl (preferably trifluoromethyl), haloalkoxy (preferably trifluoromethoxy) or —SF₅;

W represents —CR³;

R² and R³ represent halogen (preferably chlorine).

A particularly preferred compound of formula (I) is:

5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole.

A particularly preferred compound of formula (II) is:

5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole.

A particularly preferred compound of formula (III) is:

5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazol-4-yl disulphide.

Compounds of formula (II), (III) and (IV) are known.

According to a further feature of the present invention the processes (A), (B) and (C) can be combined to prepare a compound of formula (I) from a compound of formula (IV).

The above processes (A), (B) and (C) when combined together form a particularly useful and efficient method for the preparation of Fipronil.

The following non-limiting examples illustrate the invention.

EXAMPLE 1 Preparation of 5-Amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphinylpyrazole

Trifluoroacetic acid (1660 g, 14.5 mol) was added to a stirred solution of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole (436 g, 1.03 mol) and boric acid (5 g, 0.08 mol) in a glass reactor at 12° C. Hydrogen peroxide (131.5 g of 35% w/w, 1.35 mol) was added over 2 hours whilst maintaining the temperature at 12° C., and the mixture kept at this temperature for a further 4-5 hours. When the transformation had reached 97-98%, or the amount of unwanted 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulphonylpyrazole reached 2% (as judged by HPLC analysis), sulphur dioxide was added to quench any remaining hydrogen peroxide, and the mixture maintained at 10-18° C. for 0.5 hour. Chlorobenzene (370 g) was added and the mixture placed under reduced pressure (from 0.17 to 0.04 atmosphere) and heated to 47-50° C. with azeotropic distillation. A homogeneous fraction containing recovered trifluoroacetic acid was obtained. During the distillation additional chlorobenzene (1625 g) was added continuously in order to maintain a constant volume. At the end of the azeotropic distillation the reactor contents were maintained at 47-50° C. under reduced pressure (0.04 atmosphere), and a homogeneous fraction of chlorobenzene distilled. After release of the vacuum, the reactor was heated to 40° C., ethanol (207 g) and chlorobenzene (235 g) added, and the mixture heated to 80° C. with stirring to give a solution. On cooling to 40° C. the product crystallised. The reactor was placed under progressively reduced pressure (from 0.13 to 0.03 atmosphere) and the ethanol distilled at 40° C. The vacuum was released and the mixture cooled to 5° C. during 3.5 hours and left for a further 0.5 hour. The product was filtered off, washed with cold chlorobenzene, then with cold aqueous ethanol, then with water, and dried in vacuo at 135° C. to give the title compound (407.5 g), in a typical yield of 89% and purity of 95.5%.

EXAMPLE 2 Preparation of 5-Amino-3-cyano-1-(2,6-dichloro-4-trifluoromethylphenyl)-4-trifluoromethylthiopyrazole

Sodium formate (76 g, 1.11 mol) was added to a mixture of 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazol-4-yl disulphide (157.5 g, 0.223 mol) and N,N-dimethylformamide (643 g) in a glass reactor. After purging with nitrogen at 2 bars, the reactor was sealed and trifluoromethyl bromide (101 g, 0.682 mol) added. The reactor was heated to 45° C. and sulphur dioxide (19.5 g, 0.304 mol) added over 1.5 hours and the temperature maintained between 43° C. and 47° C. during the reaction and for a further 0.75 hour. The pressure was released to effect degassing for 1.5 hours, with cooling of the vessel to 25-30° C. 1 hour after the release of pressure. When the internal pressure reached atmospheric pressure the mixture was treated with sodium bicarbonate and the N,N-dimethylformamide partially evaporated whilst heating to 50-70° C. at reduced pressure. The residue was cooled to 40° C. and added slowly to water with stirring at 20-25° C. The product was filtered, washed (hot water) and dried in vacuo at 100° C. to give the title compound (182.3 g) in typical yields of 95% and purity of 96.6%.

EXAMPLE 3 Preparation of 5-Amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazol-4-yl disulphide

Acetonitrile (837 g) was added to a chlorobenzene solution (627.8 g) which contained 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyanopyrazole (366.6 g, 1.14 mol). The mixture was heated at 50-64° C. under reduced pressure (0.5 atmosphere) and dried by the distillation of about 45 ml of the acetonitrile. After cooling to 18° C., sulphur monochloride (77 g, 0.57 mol) was added rapidly over 1 minute. The temperature of the mixture increased to 35° C. and was maintained at 35° C. by cooling until the exotherm ceased and for a further 0.3 hour. The mixture was then degassed (to remove hydrogen chloride) by heating at 40° C. under reduced pressure, and then heated at 80° C. for 1 hour at atmospheric pressure. After cooling to 30° C., ammonia was added to bring the pH to 6.5-7, cooled to 5° C. and the product filtered off, washed with chlorobenzene/acetonitrile and dried at 95° C. under vacuum to give the title compound (365.2 g) in typical yield of 89.4% and 98.4% purity. 

What is claimed is:
 1. A process (A) for the preparation of a compound having the formula (I):

wherein: W is nitrogen or —CR³; R¹ is halogen, haloalkyl, haloalkoxy, R⁴S(O)_(n)—or —SF₅; R² is hydrogen or halogen; R³ is halogen; R⁴ is alkyl or haloalkyl; and n is 0, 1 or 2; said process comprising oxidizing a compound having the formula (II):

wherein R¹, R² and W are as defined above, with trifluoroperacetic acid in the presence of a corrosion inhibiting compound.
 2. A process according to claim 1, wherein the trifluoroperacetic acid is generated in situ by reacting trifluoroacetic acid with hydrogen peroxide.
 3. A process according to claim 1, wherein the corrosion inhibiting compound is boric acid or an alkali metal borate.
 4. A process according to claim 2, wherein the corrosion inhibiting compound is boric acid or an alkali metal borate.
 5. A process according to claim 3, wherein the corrosion inhibiting compound is boric acid.
 6. A process according to claim 4, wherein the corrosion inhibiting compound is boric acid.
 7. A process according to claim 1, wherein the amount of corrosion inhibiting compound employed is from about 0.08 to about 0.2 molar equivalent.
 8. A process according to claim 2, wherein the amount of corrosion inhibiting compound employed is from about 0.08 to about 0.2 molar equivalent.
 9. A process according to claim 7, wherein the corrosion inhibiting compound is boric acid.
 10. A process according to claim 8, wherein the corrosion inhibiting compound is boric acid.
 11. A process according to claim 2, wherein the amount of trifluoroacetic acid employed is from about 14 to about 15 molar equivalents.
 12. A process according to claim 8, wherein the amount of trifluoroacetic acid employed is from about 14 to about 15 molar equivalents.
 13. A process according to claim 10, wherein the amount of trifluoroacetic acid employed is from about 14 to about 15 molar equivalents.
 14. A process according to claim 2, wherein the amount of hydrogen peroxide employed is from about 1.3 to about 1.5 equivalents.
 15. A process according to claim 8, wherein the amount of hydrogen peroxide employed is from about 1.3 to about 1.5 equivalents.
 16. A process according to claim 10, wherein the amount of hydrogen peroxide employed is from about 1.3 to about 1.5 equilvalents.
 17. A process according to claim 11, wherein the amount of hydrogen peroxide employed is from about 1.3 to about 1.5 equivalents.
 18. A process according to claim 12, wherein the amount of hydrogen peroxide employed is from about 1.3 to about 1.5 equivalents.
 19. A process according to claim 13, wherein the amount of hydrogen peroxide employed is from about 1.3 to about 1.5 equivalents.
 20. A process according to claim 1, which is conducted at a temperature of from about 10° C. to about 15° C.
 21. A process according to claim 2, which is conducted at a temperature of from about 10° C. to about 15° C.
 22. A process according to claim 2, further comprising quenching any remaining hydrogen peroxide and adding chlorobenzene to the reaction mixture upon completion of the oxidation, and recovering the trifluoroacetic acid by distillation.
 23. A process according to claim 11, wherein the compound of formula (II) is 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole and the compound of formula (I) is 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl-3-cyano-4-trifluoromethylsulfinylpyrazole.
 24. A process according to claim 2, wherein the compound of formula (II) is 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole and the compound of formula (I) is 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl-3-cyano-4-trifluoromethylsulfinylpyrazole.
 25. A process (A) for the preparation of a compound having the formula (I):

wherein: W is nitrogen or —CR₃; R¹ is halogen, haloalkyl, haloalkoxy, R⁴S(O)_(n)—or —SF₅; R² is hydrogen or halogen; R³ is halogen; R⁴ is alkyl or haloalkyl; and n is 0, 1 or 2; said process comprising oxidizing a compound having the formula (II):

wherein R¹, R² and W are as defined above, with trifluoroperacetic acid in the presence of boric acid, the trifluoroperacetic acid being generated in situ by reacting trifluoroacetic acid with hydrogen peroxide, the boric acid being employed in the amount of from about 0.08 to about 0.2 molar equivalent, the trifluoroacetic acid being employed in the amount of from about 14 to about 15 molar equivalents, the hydrogen peroxide being employed in the amount of from about 1.3 to about 1.5 equivalents, said process being conducted at a temperature of from about 10° C. to about 15° C., said process further comprising quenching any remaining hydrogen peroxide and adding chlorobenzene to the reaction mixture upon completion of the oxidation, and recovering the trifluoroacetic acid by distillation.
 26. A process according to claim 25, wherein the compound of formula (II) is 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylthiopyrazole and the compound of formula (I) is 5-amino-1-(2,6-dichloro-4-trifluoromethylphenyl)-3-cyano-4-trifluoromethylsulfinylpyrazole.
 27. A process according to claim 1, wherein: R¹ is trifluoromethyl, trifluoromethoxy or —SF₅; W is —CR³; R² is chlorine; and R³ is chlorine.
 28. A process according to claim 25, wherein: R¹ is trifluoromethyl, trifluoromethoxy or —SF₅; W is —CR³; R² is chlorine; and R³ is chlorine. 